home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / ami301c.zip / QKSEND.SM$ / QKSEND.SMM
INI File  |  1993-05-24  |  37KB  |  2,972 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     QMS-PS 810
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Compose Lotus Mail message in Ami Pro
  19.     
  20.     
  21.     
  22.     
  23.     738287596
  24.     38
  25.     729389285
  26.     1963
  27.     15
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Times New Roman
  60.         240
  61.         0
  62.         49152
  63.     [algn]
  64.         1
  65.         1
  66.         0
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         2
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         280
  103.         1
  104.         2
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Bullet
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         49152
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         288
  180.         288
  181.     [spc]
  182.         33
  183.         273
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         4
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         0
  205.         <*0>
  206.         360
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         2
  217.         .
  218.         ,
  219.         $
  220.     Bullet
  221.     0
  222.     0
  223. [tag]
  224.     Bullet 1
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         240
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         288
  235.         288
  236.         288
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*5>
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         280
  271.         1
  272.         2
  273.         .
  274.         ,
  275.         $
  276.     Bullet 1
  277.     0
  278.     0
  279. [tag]
  280.     Number List
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         240
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         360
  291.         360
  292.         360
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         0
  317.         <*:>.
  318.         360
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         2
  329.         .
  330.         ,
  331.         $
  332.     Number List
  333.     0
  334.     0
  335. [tag]
  336.     Subhead
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         240
  341.         0
  342.         49155
  343.     [algn]
  344.         1
  345.         1
  346.         0
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         72
  354.         72
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         1
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         2
  385.         .
  386.         ,
  387.         $
  388.     Subhead
  389.     0
  390.     0
  391. [tag]
  392.     Title
  393.     8
  394.     [fnt]
  395.         Arial
  396.         360
  397.         0
  398.         16385
  399.     [algn]
  400.         4
  401.         1
  402.         0
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         446
  408.         1
  409.         144
  410.         72
  411.         1
  412.         100
  413.     [brk]
  414.         16
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         0
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Title
  445.     0
  446.     0
  447. [tag]
  448.     Header
  449.     9
  450.     [fnt]
  451.         Times New Roman
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         0
  459.         0
  460.         0
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Header
  501.     0
  502.     0
  503. [tag]
  504.     Footer
  505.     11
  506.     [fnt]
  507.         Times New Roman
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         0
  515.         0
  516.         0
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         
  542.         0
  543.         1
  544.         1
  545.         0
  546.         0
  547.         0
  548.         0
  549.     [nfmt]
  550.         280
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Footer
  557.     0
  558.     0
  559. [lay]
  560.     Standard
  561.     513
  562.     [rght]
  563.         15840
  564.         12240
  565.         1
  566.         1440
  567.         1440
  568.         1
  569.         1440
  570.         1440
  571.         0
  572.         1
  573.         0
  574.         1
  575.         0
  576.         2
  577.         1
  578.         1440
  579.         10800
  580.         12
  581.         1
  582.         720
  583.         1
  584.         1440
  585.         1
  586.         2160
  587.         1
  588.         2880
  589.         1
  590.         3600
  591.         1
  592.         4320
  593.         1
  594.         5040
  595.         1
  596.         5760
  597.         1
  598.         6480
  599.         1
  600.         7200
  601.         1
  602.         7920
  603.         1
  604.         8640
  605.     [hrght]
  606.     [lyfrm]
  607.         1
  608.         11200
  609.         0
  610.         0
  611.         12240
  612.         1440
  613.         0
  614.         1
  615.         3
  616.         1 0 0 0 0 0 0
  617.         0
  618.         0
  619.         1
  620.     [frmlay]
  621.         1440
  622.         12240
  623.         1
  624.         1440
  625.         72
  626.         1
  627.         792
  628.         1440
  629.         0
  630.         1
  631.         0
  632.         1
  633.         1
  634.         0
  635.         1
  636.         1440
  637.         10800
  638.         2
  639.         2
  640.         4680
  641.         3
  642.         9360
  643.     [txt]
  644. >
  645.     [frght]
  646.     [lyfrm]
  647.         1
  648.         13248
  649.         0
  650.         14400
  651.         12240
  652.         15840
  653.         0
  654.         1
  655.         3
  656.         1 0 0 0 0 0 0
  657.         0
  658.         0
  659.         2
  660.     [frmlay]
  661.         15840
  662.         12240
  663.         1
  664.         1440
  665.         792
  666.         1
  667.         14472
  668.         1440
  669.         0
  670.         1
  671.         0
  672.         1
  673.         1
  674.         0
  675.         1
  676.         1440
  677.         10800
  678.         2
  679.         2
  680.         4680
  681.         3
  682.         9360
  683.     [txt]
  684. >
  685. [elay]
  686. [l1]
  687.     0
  688. [edoc]
  689. <:#284,9360>'To:        
  690.  
  691. <:#284,9360>'Subject:    
  692.  
  693. <:#284,9360>'CC:    
  694.  
  695. <:#284,9360>'Attachments:        
  696.  
  697. <:#284,9360> 'Macro to automatically create a notes mail item based on the info in an Ami Pro doc.
  698.  
  699. <:#284,9360>' Peyton McManus
  700.  
  701. <:#284,9360>' Lotus WPD 
  702.  
  703. <:#284,9360>' Feb. 10 1992
  704.  
  705. <:#284,9360>
  706.  
  707. <:#284,9360>
  708.  
  709. <:#284,9360>
  710.  
  711. @Subhead@<:#284,9360>' Defines
  712.  
  713. <:#284,9360>Define         NotesDDE(Command    )    DDEExecute(id, %1)
  714.  
  715. <:#284,9360>Define        MergeOpts()            GetInfo(165)
  716.  
  717. <:#284,9360>Define        Buffer        75
  718.  
  719. @Outline2@<:#284,9360>Define        Move        21
  720.  
  721. @Outline2@<:#284,9360>Define        Remove    22
  722.  
  723. @Outline2@<:#284,9360>Define        OK        20
  724.  
  725. @Outline2@<:#284,9360>Define        Init        0
  726.  
  727. @Outline2@<:#284,9360>Define        Frame        0
  728.  
  729. @Outline2@<:#284,9360>
  730.  
  731. <:#284,9360>Define        AnyFootNotesFlag()            GetInfo(24)
  732.  
  733. <:#284,9360>Define        GETGOTOITEMLEGALFLAG()    GetInfo(86, %1)
  734.  
  735. <:#568,9360>Define        ErrorMerge    "Merging could not continue.  Could not send mail.  This name may not be in the address book."
  736.  
  737. <:#284,9360>
  738.  
  739. @Outline2@<:#568,9360>Define SendMessage(hwnd, message, wparam, lparao) dllcall("user,SendMessage,JHHHJ", %1, %2, %3, %4)
  740.  
  741. @Outline2@<:#284,9360>Define GetActiveWindow() DllCall("user,GetActiveWindow,H")
  742.  
  743. @Outline2@<:#284,9360>Define InvalidateRect(hwnd, stuff, H) DllCall("user,InvalidateRect,HHFH", %1, %2, %3)
  744.  
  745. <:#284,9360>DEFINE GetClientRect()          DLLCALL("User,GetClientRect,HHN",%1,%2)
  746.  
  747. <:#284,9360>define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
  748.  
  749. @Outline2@<:#284,9360>Define Getfocus() DllCall("user,GetFocus,H")
  750.  
  751. @Outline2@<:#284,9360>define WM_USER        1024
  752.  
  753. @Outline2@<:#284,9360>define LB_GETCURSEL    1033
  754.  
  755. @Outline2@<:#284,9360>define LB_DELETESTRING    1027
  756.  
  757. @Outline2@<:#284,9360>define LB_GETCOUNT    1036
  758.  
  759. @Outline2@<:#284,9360>define LB_GETTEXT        1034
  760.  
  761. @Outline2@<:#284,9360>define LB_SETCURSEL    1031
  762.  
  763. @Outline2@<:#284,9360>define WM_SETREDRAW    0x000B
  764.  
  765. @Outline2@<:#284,9360>define    LB_FINDSTRING    1040
  766.  
  767. @Outline2@<:#284,9360>Define ShowCaret() dllcall("user,ShowCaret,HA", %1)
  768.  
  769. @Outline2@<:#284,9360>Define HideCaret() dllcall("user,HideCaret,HA", %1)
  770.  
  771. <:#284,9360>Define    SetFocus()        DllCall("User,SetFocus,HH",%1)
  772.  
  773. <:#284,9360>define    CloseDlg(id)    dllcall("user,PostMessage,HHHHHH", HDLG, 0X111, %1, 0, 0).
  774.  
  775. Define        GetActiveTextWin()        GetInfo(267)
  776.  
  777.  
  778. Define    QuestionText    "This document may contain a table, frame or a footnote; to maintain these items, attach this file to the message.  {Text} '{filename}' to the message?"
  779.  
  780. @Outline2@
  781. @Outline2@define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  782.  
  783.  
  784.  
  785. @Subhead@' Declares
  786.  
  787. Declare GetAddress(cTo, cCC,cSubject, cAttachments)
  788.  
  789. Declare Findit(word, body, LowestPos)
  790.  
  791. Declare CopyClip(LowestPos)
  792.  
  793. Declare MailBox(cTo, cCC,cSubject, cAttachments)
  794.  
  795. Declare SendIt(cTo, cCC, cSubject, cAttachments)
  796.  
  797. Declare InitDDE(MailServer)
  798.  
  799. Declare MergeIt(fileName, Descrip)
  800.  
  801. Declare DarkModeMacro(Param, hWnd)
  802.  
  803. @Outline2@Declare SendParse(Id, Command, String)
  804.  
  805. @Outline2@Declare Ltrim(String)
  806.  
  807. @Outline2@Declare CheckForFrame()
  808.  
  809. @Outline2@Declare DisplayQuestion(cAttachments)
  810.  
  811. @Outline2@Declare StripDown(Word, Phrase)
  812.  
  813. @Outline2@Declare TryToExec()
  814.  
  815. declare Navigate(xapp, ExeName) ' <:f200,QCourier,0,0,255>declare user defined functions
  816.  
  817. declare getprofile(xappname)
  818.  
  819. declare writeprofile(path, xappname)
  820.  
  821. declare tryit(path, xapp)
  822.  
  823. <:f200,QCourier,0,0,255>
  824.  
  825. @Outline2@
  826. @Outline2@
  827. @Subhead@Function Menus()
  828.  
  829. menu="&File"
  830.  
  831. item="&Quick Send..."
  832.  
  833. mac=getrunningmacrofile$()
  834.  
  835. CheckMenuItem(1, menu, item, 1)
  836.  
  837. if not CheckMenuItem(1, menu, item,, 1)
  838.  
  839.     insertmenuitem(1, menu, 13, "-", "", "")
  840.  
  841.     insertmenuitem(1, menu, 13, item, "{mac}!Main", "Send memo on screen.")
  842.  
  843.     return 1
  844.  
  845. else
  846.  
  847.     mactocall="{mac}!Main"
  848.  
  849.     calli mactocall()
  850.  
  851. endif
  852.  
  853. CheckMenuItem(1, menu, item, 0)
  854.  
  855. end function
  856.  
  857.  
  858. @Subhead@Function Main(Param)
  859.  
  860. DefStr cTo, cSubject, cCC, cAttachments, Id, hWnd;
  861.  
  862. If GetOpenFileCount()<<1
  863.  
  864.         Return -1
  865.  
  866. Endif
  867.  
  868.  
  869. OnError Done
  870.  
  871. FileName = StrField$(MergeOpts(), 8,",")
  872.  
  873. Descrip =  StrField$(MergeOpts(),10,",")
  874.  
  875. DarkModeMacro("on", &hWnd)
  876.  
  877. @Outline2@HourGlass(on)
  878.  
  879. @Outline2@HideCaret("")
  880.  
  881. @Outline2@
  882. @Outline2@If FileName != ""    ' if the filename is not null, this is a merge doc
  883.  
  884.     If -1 = MergeIt(Filename, Descrip)
  885.  
  886.         ' did not want to merge    
  887.  
  888.     Else
  889.  
  890.         DarkModeMacro("off",hWnd)
  891.  
  892.         HourGlass(off)
  893.  
  894.         Return 0; ' merged now done
  895.  
  896.     Endif
  897.  
  898. Endif
  899.  
  900.  
  901. GetAddress(&cTo, &cSubject, &cCC, &cAttachments)
  902.  
  903. DarkModeMacro("off",hWnd)
  904.  
  905. If CheckForFrame()
  906.  
  907.     If DisplayQuestion(&cAttachments)
  908.  
  909.         HourGlass(off)
  910.  
  911.         Return -1
  912.  
  913.     Endif
  914.  
  915. Endif
  916.  
  917.  
  918.  
  919. HourGlass(off)
  920.  
  921. If -1 = MailBox(&cTo, &cCC,&cSubject, &cAttachments) 
  922.  
  923. Else
  924.  
  925.     SendIt(&cTo, &cCC, &cSubject, &cAttachments)
  926.  
  927. Endif
  928.  
  929. Done:
  930.  
  931. StatusBarMsg("")
  932.  
  933. ShowCaret("")
  934.  
  935.  
  936. End Function
  937.  
  938.  
  939.  
  940. @Subhead@Function MergeIt(FileName, Descrip)
  941.  
  942. DefStr cTo, cCC, cSubject, cAttachments;
  943.  
  944. If Not Decide("Would you like to merge this file to your EMail service?","Ami Pro")
  945.  
  946.     Return -1
  947.  
  948. Endif
  949.  
  950. StatusBarMsg("Now merging to EMail server")
  951.  
  952. MergeMacro(0,Filename, Descrip)
  953.  
  954. GetAddress(&cTo, &cSubject, &cCC, &cAttachments)
  955.  
  956. SendIt(&cTo, &cCC, &cSubject, &cAttachments)
  957.  
  958.  
  959. While 1  = MergeAction(2)
  960.  
  961.     GetAddress(&cTo, &cSubject, &cCC, &cAttachments)
  962.  
  963.     If 0 = SendIt(&cTo, &cCC, &cSubject, &cAttachments)
  964.  
  965.     Else
  966.  
  967.         ' Sendit returned a -1 so something is not right
  968.  
  969.         Message(ErrorMerge, "Ami Pro")
  970.  
  971.         MergeAction(4)    ' stop the merge
  972.  
  973.         Break;
  974.  
  975.     Endif
  976.  
  977. Wend
  978.  
  979. StatusBarMsg("")
  980.  
  981. Return 0;
  982.  
  983. End Function
  984.  
  985.  
  986.  
  987.  
  988. @Subhead@Function SendIt(cTo, cCC, cSubject, cAttachments)
  989.  
  990. DefStr Id, Person, ccPerson, MailServer, Stuff, Stat;
  991.  
  992. HourGlass(on)
  993.  
  994. MailTo = *cTo;
  995.  
  996. MailCC = *cCC;
  997.  
  998. MailSubject = *cSubject;
  999.  
  1000. AttachFile = *cAttachments;
  1001.  
  1002. x = 1;
  1003.  
  1004. y = 1;
  1005.  
  1006.  
  1007. If  0= Assign(&id,  InitDDE(&MailServer))
  1008.  
  1009.     HourGlass(off)
  1010.  
  1011.     Return -1;
  1012.  
  1013. Endif
  1014.  
  1015.  
  1016. NotesDDE("NewMessage")
  1017.  
  1018. StatusBarMsg("Sending message to {MailTo}")
  1019.  
  1020.  
  1021. SendParse(Id, "To", Mailto)
  1022.  
  1023. SendParse(Id, "CC", MailCC)
  1024.  
  1025. SendParse(Id, "AttachFile",Ucase$(AttachFile))
  1026.  
  1027.  
  1028. If "" != MailSubject
  1029.  
  1030.     NotesDDE("Subject {MailSubject}")
  1031.  
  1032. Endif
  1033.  
  1034.  
  1035. If MailServer = "Notes"
  1036.  
  1037.     If IsOkToRun(Paste)    ' If we can copy something from this doc, we will paste
  1038.  
  1039.         If -1 = NotesDDE("PasteClip")
  1040.  
  1041.             Message("Could not send mail.","Ami Pro")
  1042.  
  1043.             DDETerminate(Id)
  1044.  
  1045.             HourGlass(off)
  1046.  
  1047.             Return -1
  1048.  
  1049.         Endif
  1050.  
  1051.     Endif
  1052.  
  1053. Else
  1054.  
  1055.     ' This is the ccMail side
  1056.  
  1057.     If IsOkToRun(Paste)    ' If we can copy something from this doc, we will paste
  1058.  
  1059.         If -1 =Assign(&Stat, NotesDDE("Paste"))
  1060.  
  1061.             Message("Could not send mail. {Stat}","Ami Pro")
  1062.  
  1063.             DDETerminate(Id)
  1064.  
  1065.             HourGlass(off)
  1066.  
  1067.             Return -1
  1068.  
  1069.     Endif
  1070.  
  1071.         Endif
  1072.  
  1073. Endif
  1074.  
  1075.  
  1076. NotesDDE("Send")
  1077.  
  1078. DDETerminate(Id)
  1079.  
  1080. HourGlass(off)
  1081.  
  1082. End Function
  1083.  
  1084.  
  1085.  
  1086.  
  1087. @Subhead@Function SendParse(id, Command, String)
  1088.  
  1089. DefStr Item;
  1090.  
  1091. x = 1
  1092.  
  1093. While -1 != Assign(&Item, StrField$(String, x,","))
  1094.  
  1095.     Item = Ltrim(Item)
  1096.  
  1097.     If Command = "AttachFile"
  1098.  
  1099.         If  FindFirst$(Item,0)
  1100.  
  1101.             NotesDDE("{Command} {Item}")
  1102.  
  1103.         Endif
  1104.  
  1105.     Else
  1106.  
  1107.         If "" != Item
  1108.  
  1109.             NotesDDE("{Command} {Item}")
  1110.  
  1111.         Endif
  1112.  
  1113.     Endif
  1114.  
  1115.     x = x + 1
  1116.  
  1117. Wend
  1118.  
  1119. End Function
  1120.  
  1121.  
  1122.  
  1123. @Subhead@Function GetAddress(cTo, cSubject, cCC, cAttachments)
  1124.  
  1125. LowestPos= 0;
  1126.  
  1127. Findit("to:", &cTo, &LowestPos)
  1128.  
  1129. If 0 = Findit("subject:", &cSubject, &LowestPos)
  1130.  
  1131.     Findit("re:", &cSubject, &LowestPos)
  1132.  
  1133. Endif
  1134.  
  1135. Findit("cc:", &cCC, &LowestPos)
  1136.  
  1137. If 0 = Findit("attachment:",&cAttachments, &LowestPos)
  1138.  
  1139.     Findit("attachments:",&cAttachments, &LowestPos)
  1140.  
  1141. Endif
  1142.  
  1143. CopyClip(LowestPos)
  1144.  
  1145. End Function
  1146.  
  1147.  
  1148. @Subhead@Function FindIt(Word, body, LowestPos)
  1149.  
  1150. Stat = Replace(0,0,8196,Word,"")
  1151.  
  1152. If Stat = 1
  1153.  
  1154.     Type("<[>CtrlUp]")
  1155.  
  1156.     Type ("<[>CtrlDown]")
  1157.  
  1158.     para = GetTextBeforeCursor$()
  1159.  
  1160.     Para = StripDown(Word, Para);
  1161.  
  1162.     *Body = Para;
  1163.  
  1164.     pos = StrField$(CursorPosition$(),2,",")
  1165.  
  1166.     If Pos << *LowestPos;
  1167.  
  1168.         *LowestPos = Pos;
  1169.  
  1170.     Endif
  1171.  
  1172.     Return 1
  1173.  
  1174. Endif
  1175.  
  1176. Return 0
  1177.  
  1178. End Function
  1179.  
  1180.  
  1181.  
  1182. @Subhead@Function StripDown(Word, Phrase)
  1183.  
  1184. LenWord = Len(word)
  1185.  
  1186. LenPhrase = Len(Phrase)
  1187.  
  1188.  
  1189. Temp = Right$(phrase,LenPhrase - LenWord)
  1190.  
  1191. For t =1 to Len(Temp)
  1192.  
  1193.     Char = Left$(Temp, 1)
  1194.  
  1195.     If 0 = Instr(0, "     :",Char)
  1196.  
  1197.         Break;
  1198.  
  1199.     Else
  1200.  
  1201.     Temp = Right$(Temp, Len(Temp) - 1)
  1202.  
  1203.     Endif
  1204.  
  1205. Next
  1206.  
  1207. Return Temp
  1208.  
  1209. End Function
  1210.  
  1211.  
  1212.  
  1213.  
  1214. @Subhead@Function CopyClip(LowestPos)
  1215.  
  1216. IgnoreKeyboard(2)
  1217.  
  1218. Question = QuestionText
  1219.  
  1220. y = StrField$(CursorPosition$(),2,",")
  1221.  
  1222. If LowestPos = 0
  1223.  
  1224.     Type ("<[>CtrlHome]")
  1225.  
  1226. Else
  1227.  
  1228.     While y <;>LowestPos 
  1229.  
  1230.             Type ("<[>Down]")
  1231.  
  1232.             y = StrField$(CursorPosition$(),2,",")
  1233.  
  1234.     Wend
  1235.  
  1236.     Type ("<[>left]<[>CtrlDown]<[>Right]")
  1237.  
  1238. Endif
  1239.  
  1240. Type ("<[>ShiftCtrlEnd]")
  1241.  
  1242. If IsOkToRun(copy)
  1243.  
  1244.     Copy()
  1245.  
  1246. Else
  1247.  
  1248.     ClipboardWrite("",1)    ' nothing to copy, clean the clipboard so we don't paste other data
  1249.  
  1250. Endif
  1251.  
  1252. Type ("<[>Esc]")
  1253.  
  1254. End Function
  1255.  
  1256.  
  1257.  
  1258. @Subhead@Function DisplayQuestion(cAttachMents)
  1259.  
  1260. Attach = *cAttachments;
  1261.  
  1262. If FileChanged(0,0)
  1263.  
  1264.     Text = "Save and attach"
  1265.  
  1266. Else
  1267.  
  1268.     Text = "Attach"
  1269.  
  1270. Endif
  1271.  
  1272. FileName = GetDocInfo$(1)
  1273.  
  1274. Stat = MultiDecide(QuestionText,3, "Ami Pro")
  1275.  
  1276. Switch Stat
  1277.  
  1278.     Case 2    ' Cancel
  1279.  
  1280.         Return 1;
  1281.  
  1282.         Break;
  1283.  
  1284.     Case 6    ' Yes
  1285.  
  1286.         Filename = GetOpenFileName$()
  1287.  
  1288.         If FileName = ""
  1289.  
  1290.             If SaveAs
  1291.  
  1292.                 FileName = GetOpenFileName$()
  1293.  
  1294.             Else
  1295.  
  1296.                 Return 0;
  1297.  
  1298.             Endif
  1299.  
  1300.         Else
  1301.  
  1302.             Save()
  1303.  
  1304.         Endif        
  1305.  
  1306.         ' now I will add the file to the attachment list
  1307.  
  1308.         If  Attach="";
  1309.  
  1310.             *cAttachments = FileName;
  1311.  
  1312.         Else
  1313.  
  1314.             *cAttachments = StrCat$(attach, ",","{FileName}")
  1315.  
  1316.         Endif
  1317.  
  1318.         Return 0;
  1319.  
  1320.     Case 7    ' No
  1321.  
  1322.         Return 0;
  1323.  
  1324.         Break;
  1325.  
  1326. EndSwitch
  1327.  
  1328. End Function
  1329.  
  1330.  
  1331.  
  1332. @Subhead@Function CheckForFrame()
  1333.  
  1334. If AnyFootNotesFlag()
  1335.  
  1336.     Return 1
  1337.  
  1338. Endif
  1339.  
  1340. If GetGotoItemLegalFlag(Frame)
  1341.  
  1342.     Return 1; 
  1343.  
  1344. endif
  1345.  
  1346. Count = GetStyleCount()
  1347.  
  1348. Dim StyleName(Count)
  1349.  
  1350. GetStyleNames(&StyleName)
  1351.  
  1352. If 0 != ArraySearch(&StyleName, "Table Text")
  1353.  
  1354.     Return 1
  1355.  
  1356. Endif
  1357.  
  1358. End Function
  1359.  
  1360.  
  1361.  
  1362.  
  1363. @Subhead@Function DarkModeMacro(Param, hWnd)
  1364.  
  1365. @Outline2@
  1366. @Outline2@Dim A(4)
  1367.  
  1368. @Outline2@Param = lCase$(Param)
  1369.  
  1370. @Outline2@switch Param
  1371.  
  1372. @Outline2@    Case "on";
  1373.  
  1374. @Outline2@        *hWnd = GetActiveTextWin()
  1375.  
  1376. @Outline2@        MarkBookMark("DarkMode",AddBookMark)
  1377.  
  1378. @Outline2@        SendMessage(hWnd, WM_SETREDRAW, 0, "")
  1379.  
  1380. @Outline2@    Case "off"
  1381.  
  1382. @Outline2@        SendMessage(hWnd, WM_SETREDRAW,1,"")
  1383.  
  1384. @Outline2@        MarkBookMark("DarkMode",FindBookMark)
  1385.  
  1386. @Outline2@        MarkBookMark("DarkMode", DeleteBookMark)
  1387.  
  1388. @Outline2@        GetClientRect(hWnd, &A)
  1389.  
  1390. @Outline2@        InvalidateRect(hWnd, &A,1)
  1391.  
  1392. @Outline2@    Default
  1393.  
  1394. @Outline2@        ' Didn't understand
  1395.  
  1396. @Outline2@EndSwitch
  1397.  
  1398. @Outline2@End Function
  1399.  
  1400.  
  1401. @Subhead@Function InitDDE(MailServer)
  1402.  
  1403. IgnoreKeyboard(2)
  1404.  
  1405. DefStr TempId, Char;
  1406.  
  1407. Attempt = 0
  1408.  
  1409. Count = 1;
  1410.  
  1411. While Count << 7
  1412.  
  1413.     If AppIsRunning("Lotus Notes")
  1414.  
  1415.         AppName = "Notes";
  1416.  
  1417.         *MailServer = "Notes";
  1418.  
  1419.     Elseif AppIsRunning("cc:Mail")
  1420.  
  1421.         AppName = "wMail";
  1422.  
  1423.         *MailServer = "ccMail";
  1424.  
  1425.     Else
  1426.  
  1427.         ' We need to exec one
  1428.  
  1429.         If Attempt = 0
  1430.  
  1431.             Stat = TryToExec()
  1432.  
  1433.             Attempt = 1    ' don't try to exec again
  1434.  
  1435.         Endif
  1436.  
  1437.     Endif
  1438.  
  1439.     If 0 != Assign (&TempId , DDEInitiate(AppName,"SendMail"))
  1440.  
  1441.         ' we have a real id
  1442.  
  1443.         Break;
  1444.  
  1445.     Endif
  1446.  
  1447.     Count = Count + 1
  1448.  
  1449. Wend
  1450.  
  1451. Return TempId;
  1452.  
  1453. End Function
  1454.  
  1455.  
  1456.  
  1457. @Subhead@Function TryToExec()
  1458.  
  1459. defStr I, char, path, Findexe;
  1460.  
  1461. AppName = GetProfileString$("LotusMail","Application", "Win.ini")
  1462.  
  1463. FullName = GetProfileString$("LotusMail","Program","Win.Ini")
  1464.  
  1465. If 0 !=Assign(&i, Len(FullName))
  1466.  
  1467.     While "\" != Assign(&Char, Mid$(FullName, i, 1))
  1468.  
  1469.          i = i - 1
  1470.  
  1471.     Wend
  1472.  
  1473.     Path = Left$(FullName, i)
  1474.  
  1475.     TempExeName = Right$(Fullname, Len(FullName) - i )
  1476.  
  1477.     if tryit(Path, TempExeName) <;> 31 ' <:f200,QCourier,0,0,255>if we launch, get out<:f>
  1478.  
  1479.         return 1
  1480.  
  1481.     endif
  1482.  
  1483. Endif
  1484.  
  1485. ' if we are here, we did not start app and we need to ask what app to start
  1486.  
  1487. StoredPath = Strfield$(GetProfile("mail"),1,",")
  1488.  
  1489. StoredExe = Strfield$(GetProfile("mail"),2,",")
  1490.  
  1491. if tryit(StoredPath, StoredExe) <;> 31 ' <:f200,QCourier,0,0,255>if we launch, get out<:f>
  1492.  
  1493.     return 1
  1494.  
  1495. endif
  1496.  
  1497. Text = "your mail service."
  1498.  
  1499. if assign(&path, Navigate(Text, &FindExe)) <<<;> 0 ' <:f200,QCourier,0,0,255>show me where the exe is
  1500.  
  1501.     if tryit(path, FindExe) <;> 31
  1502.  
  1503.         writeprofile(path, Findexe)
  1504.  
  1505.         Return 1
  1506.  
  1507.     endif
  1508.  
  1509. endif
  1510.  
  1511. Return 0
  1512.  
  1513. End function
  1514.  
  1515.  
  1516.  
  1517. @Subhead@function tryit(path, app) ' <:f200,QCourier,0,0,255>this function attemts to exec the app
  1518.  
  1519. doschdir(path)
  1520.  
  1521. return exec(strcat$(path, app), "",2)
  1522.  
  1523. end function
  1524.  
  1525.  
  1526. @Subhead@function writeprofile(path, ExeName) ' <:f200,QCourier,0,0,255>save the path if exec works
  1527.  
  1528. writeprofilestring("LotusApps", "Mail", StrCat$(path","ExeName), "amipro2.ini")
  1529.  
  1530. end function
  1531.  
  1532.  
  1533. @Subhead@function getprofile(appname) ' <:f200,QCourier,0,0,255>get the path of successful exec
  1534.  
  1535. defstr path;
  1536.  
  1537. if assign(&path, getprofilestring$("LotusApps", appname, "amipro2.ini")) <<<;> ""
  1538.  
  1539.     return path
  1540.  
  1541. endif
  1542.  
  1543. return getprofilestring$("LotusApps", appname, "amipro.ini")
  1544.  
  1545. end function
  1546.  
  1547.  
  1548. @Subhead@function Navigate(app, FindExe ) ' <:f200,QCourier,0,0,255>ask user for location of exe
  1549.  
  1550. defstr box;
  1551.  
  1552. Mac = GetRunningMacroFile$()
  1553.  
  1554. filledit(9001, "*.exe")
  1555.  
  1556. filledit(8007, app)
  1557.  
  1558. @Outline3@DlgKeyInterrupt(112, "{mac}!DisplayHelp")
  1559.  
  1560. @Outline3@
  1561. if assign(&box, dialogbox(".", "findapp")) <<<;> 1
  1562.  
  1563.     return 0
  1564.  
  1565. endif
  1566.  
  1567. *Findexe = GetdialogField$(9001);
  1568.  
  1569. return getcurrentdir$();
  1570.  
  1571. end function
  1572.  
  1573.  
  1574.  
  1575. <:f200,QCourier,0,0,255>
  1576.  
  1577. @Subhead@function DisplayHelp()
  1578.  
  1579. @Outline2@' two defines needed for help.  The help name and panel number are defined above
  1580.  
  1581. @Outline2@define FindWindowa() DllCall("user,FindWindow,HCC", %1, %2)
  1582.  
  1583. @Outline2@define WinHelpa(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  1584.  
  1585. @Outline2@prohWnd = FindWindowa("AmiProWndA", 0)
  1586.  
  1587. @Outline2@helpfile = strcat$(GetAmiDirectory$(), "HelpPack.hlp")
  1588.  
  1589. @Outline2@PanelNum= 135 
  1590.  
  1591. @Outline2@WinHelpa(prohWnd, helpfile, 0x0001, Panelnum)
  1592.  
  1593. @Outline2@end function
  1594.  
  1595. @Subhead@
  1596.  
  1597.  
  1598.  
  1599. @Subhead@function MailBox(cTo, cCC,cSubject, cAttachments)
  1600.  
  1601. @Outline2@Mac = GetRunningMacroFile$()
  1602.  
  1603. @Outline2@IgnoreKeyBoard(2)
  1604.  
  1605. @Outline2@if *cTo != "";
  1606.  
  1607. @Outline2@    'find out if the box should pop; if it shouldn't, we're done, return 1
  1608.  
  1609. @Outline3@    inifile="AMIPRO2.INI"
  1610.  
  1611. @Outline3@    showbox=getprofilestring$("AmiMailer", "DisplayBox", inifile)
  1612.  
  1613. @Outline3@    if showbox= ""
  1614.  
  1615. @Outline3@        showbox="yes"
  1616.  
  1617. @Outline3@        WriteProfileString("AmiMailer", "DisplayBox", showbox, inifile)
  1618.  
  1619. @Outline3@    endif
  1620.  
  1621. @Outline3@    if showbox="no"
  1622.  
  1623. @Outline3@        return 1
  1624.  
  1625. @Outline3@    endif
  1626.  
  1627. @Outline2@endif
  1628.  
  1629. @Outline2@AllocGlobalVar("Files",1)
  1630.  
  1631. @Outline2@Attach = *cAttachments;
  1632.  
  1633. @Outline2@SetGlobalVar("Files",Attach);
  1634.  
  1635. @Outline2@
  1636. @Outline2@filledit(8000, cTo)
  1637.  
  1638. @Outline2@filledit(8001, cCC)
  1639.  
  1640. @Outline2@filledit(8002, cSubject)
  1641.  
  1642. @Outline2@SetDlgCallBack(21,"{Mac}!Attacher")
  1643.  
  1644. @Outline3@DlgKeyInterrupt(112, "{mac}!DisplayHelp")
  1645.  
  1646. @Outline3@
  1647. @Outline2@box=dialogbox(".", "mailbox")
  1648.  
  1649. @Outline2@if box != 1
  1650.  
  1651. @Outline2@    FreeGlobalVar("Files")
  1652.  
  1653. @Outline2@    return -1
  1654.  
  1655. @Outline2@endif
  1656.  
  1657. @Outline2@*cTo=GetDialogField$(8000 );
  1658.  
  1659. @Outline2@*cCC=GetDialogField$(8001 );
  1660.  
  1661. @Outline2@*cSubject=GetDialogField$(8002 );
  1662.  
  1663. @Outline2@*cAttachMents = GetGlobalVar$("files");
  1664.  
  1665. @Outline2@FreeGlobalVar("Fil.es")
  1666.  
  1667. @Outline2@Checkbox=GetDialogField$(20 )
  1668.  
  1669. @Outline2@if CheckBox= 1
  1670.  
  1671. @Outline2@    WriteProfileString("AmiMailer", "DisplayBox", "no", inifile)
  1672.  
  1673. @Outline2@Else
  1674.  
  1675. @Outline2@    WriteProfileString("AmiMailer", "DisplayBox", "yes", inifile)
  1676.  
  1677. @Outline2@
  1678. @Outline2@endif
  1679.  
  1680. @Outline2@return 1
  1681.  
  1682. @Outline2@end function
  1683.  
  1684. @Function@
  1685. @Function@
  1686. @Function@
  1687. @Subhead@function attacher(Hdlg, id, value)
  1688.  
  1689. @Outline2@DefStr Data;
  1690.  
  1691. @Outline2@rmac=GetRunningMacroFile$()
  1692.  
  1693. @Outline2@pathnow = GetCurrentDir$()
  1694.  
  1695. @Outline2@FillEdit(7999, "{pathnow}")
  1696.  
  1697. @Outline2@SetDlgCallBack (21,"{rmac}!MoveIt")
  1698.  
  1699. @Outline2@SetDlgCallBack (22,"{rmac}!MoveIt")
  1700.  
  1701. @Outline2@SetDlgCallBack (20,"{rmac}!MoveIt")
  1702.  
  1703. @Outline2@SetDlgCallBack(0, "{rMac}!MoveIt")
  1704.  
  1705. @Outline3@DlgKeyInterrupt(112, "{rmac}!DisplayHelp")
  1706.  
  1707. @Outline2@box = dialogbox(".", "Attach")
  1708.  
  1709. @Outline2@SetFocus(Hdlg)
  1710.  
  1711. @Outline2@end function
  1712.  
  1713. @Function@
  1714. @Function@
  1715. @Subhead@Function MoveIt(Hdlg, Id, Value)
  1716.  
  1717. @Function@hAttach = GetDlgItem(Hdlg, 9002)
  1718.  
  1719. @Function@HFiles = GetDlgItem(Hdlg, 9001)
  1720.  
  1721. @Function@DefStr Item, Data;
  1722.  
  1723. @Function@Switch Id
  1724.  
  1725. @Function@    Case Move
  1726.  
  1727. @Outline2@        Name = GetDlgItemText(Hdlg, 9001)
  1728.  
  1729. @Outline2@        if Instr(0,Name, "]") !=0
  1730.  
  1731. @Outline2@            exit function
  1732.  
  1733. @Outline2@        endif
  1734.  
  1735. @Outline2@        Filename=lcase$(strcat$(GetCurrentDir$(), Name))
  1736.  
  1737. @Outline2@        If -1 = AppSendMessage(hAttach,LB_FINDSTRING, -1, Filename)
  1738.  
  1739. @Outline2@            setdlgitemtext(hdlg, 9002, Filename)
  1740.  
  1741. @Function@        Endif
  1742.  
  1743. @Function@        Break;
  1744.  
  1745. @Function@    Case Remove
  1746.  
  1747. @Outline2@        idx = AppSendMessage (hAttach, LB_GETCURSEL, 0, 0)
  1748.  
  1749. @Outline2@        x=AppSendMessage (hAttach, LB_DELETESTRING, idx, 0)
  1750.  
  1751. @Function@        Break;
  1752.  
  1753. @Function@    Case OK
  1754.  
  1755. @Outline2@        count = AppSendMessage (hAttach, LB_GETCOUNT, 0, 0) 
  1756.  
  1757. @Outline2@        for i=1 to count
  1758.  
  1759. @Outline2@            AppSendMessage(hAttach, LB_SETCURSEL, i - 1, 0)
  1760.  
  1761. @Outline2@            Item = GetDlgItemText(Hdlg, 9002)
  1762.  
  1763. @Outline2@            If Item != ""
  1764.  
  1765. @Outline2@                Stuff = StrCat$(Stuff, ", ",Item)
  1766.  
  1767. @Outline2@            Endif
  1768.  
  1769. @Outline2@        next
  1770.  
  1771. @Outline2@        If Stuff != ""
  1772.  
  1773. @Outline2@            Stuff = Right$(Stuff, Len(Stuff) - 2)
  1774.  
  1775. @Outline2@        Endif
  1776.  
  1777. @Outline2@        SetGlobalVar("Files",Stuff)
  1778.  
  1779. @Outline2@        'sendkeys("<[>altz]")
  1780.  
  1781.         CloseDlg(2)
  1782.  
  1783. @Outline2@        Break;
  1784.  
  1785. @Function@    Default
  1786.  
  1787. @Function@        ' this is my Init function, 
  1788.  
  1789. @Outline2@        Files = GetGlobalVar$("Files")
  1790.  
  1791. @Outline2@        x = 1
  1792.  
  1793. @Outline2@        While -1 != Assign(&Data, StrField$(Files, x,","))
  1794.  
  1795. @Outline2@            Data = Ltrim(Data)
  1796.  
  1797. @Outline2@            If Data != ""
  1798.  
  1799. @Outline2@                setdlgitemtext(hdlg, 9002, Data)
  1800.  
  1801. @Outline2@            Endif
  1802.  
  1803. @Outline2@            x = x + 1;
  1804.  
  1805. @Outline2@        Wend
  1806.  
  1807. @Function@EndSwitch
  1808.  
  1809. @Function@End Function
  1810.  
  1811. @Function@
  1812. @Function@
  1813. @Function@
  1814. @Subhead@Function LTrim(String)
  1815.  
  1816. @Function@If String = " "
  1817.  
  1818. @Function@    Exit Function
  1819.  
  1820. @Function@Endif
  1821.  
  1822. @Function@While Left$(String,1) =" "
  1823.  
  1824. @Function@    String = Right$(String,  Len(String) - 1 )
  1825.  
  1826. @Function@Wend
  1827.  
  1828. @Function@Return String
  1829.  
  1830. @Function@End Function
  1831.  
  1832. @Function@
  1833.  
  1834.  
  1835. @Subhead@' dialogs
  1836.  
  1837.  
  1838.  
  1839. DIALOG    Attach
  1840.  
  1841. -2134376448    9    49    56    256    102    ""    "AmiDialog"    "Attach Files"
  1842.  
  1843. FONT    8    "Helv"
  1844.  
  1845. 213    3    40    14    20    1342373889    "button"    "OK"    0 
  1846.  
  1847. 213    19    40    14    2    1342373888    "button"    "Cancel"    0 
  1848.  
  1849. 3    14    60    80    9001    1352728579    "listbox"    ""    0 
  1850.  
  1851. 111    14    98    80    9002    1352728577    "listbox"    ""    0 
  1852.  
  1853. 66    32    43    14    21    1342373888    "button"    "Move <;><;>"    0 
  1854.  
  1855. 66    50    43    14    22    1342373888    "button"    "<<<< Remove"    0 
  1856.  
  1857. 3    2    82    10    7999    1342177280    "static"    "text"    0 
  1858.  
  1859. 112    2    56    10    1001    1342177280    "static"    "Attachments:"    0 
  1860.  
  1861. 238    182    10    14    1    1342373888    "button"    "&z"    0 
  1862.  
  1863. @Function@END DIALOG
  1864.  
  1865. @Function@
  1866.  
  1867. @Function@
  1868. DIALOG    mailbox
  1869.  
  1870. -2134376448    9    55    58    198    57    ""    "AmiDialog"    "Confirm Mail to Send"
  1871.  
  1872. FONT    8    "Helv"
  1873.  
  1874. 4    8    28    10    1000    1342177280    "static"    "To:"    0 
  1875.  
  1876. 38    6    108    12    8000    1350631552    "edit"    ""    0 
  1877.  
  1878. 4    22    28    10    1001    1342177280    "static"    "cc:"    0 
  1879.  
  1880. 38    20    108    12    8001    1350631552    "edit"    ""    0 
  1881.  
  1882. 4    36    28    10    1002    1342177280    "static"    "Subject:"    0 
  1883.  
  1884. 38    34    108    12    8002    1350631552    "edit"    ""    0 
  1885.  
  1886. 153    4    40    14    1    1342373889    "button"    "OK"    0 
  1887.  
  1888. 153    20    40    14    2    1342373888    "button"    "Cancel"    0 
  1889.  
  1890. 153    36    40    14    21    1342373888    "button"    "Attach..."    0 
  1891.  
  1892. @Function@END DIALOG
  1893.  
  1894. @Function@
  1895. @Function@
  1896. @Function@DIALOG findapp
  1897.  
  1898. -2134376448 7 70 35 200 97 "" "" "Find Application"
  1899.  
  1900. FONT 8 "Helv"
  1901.  
  1902. 7 34 59 8 1000 1342177280 "static" "&Program path:" 0 
  1903.  
  1904. 6 45 60 44 9001 1352728579 "listbox" "" 0 
  1905.  
  1906. 155 5 40 14 1 1342373889 "button" "OK" 0 
  1907.  
  1908. 155 21 40 14 2 1342373888 "button" "Cancel" 0 
  1909.  
  1910. 68 34 80 8 7999 1342177280 "static" "" 0 
  1911.  
  1912. 7 6 142 9 1006 1342177280 "static" "Change into the directory that contains" 0 
  1913.  
  1914. 7 16 107 8 8007 1342177280 "static" "" 0 
  1915.  
  1916. END DIALOG
  1917.  
  1918. @Function@
  1919. >
  1920.  
  1921. [Embedded]
  1922. 00024654
  1923. >
  1924. [macsum] 26
  1925. Menus 0 0 5 72
  1926. Main 310 1 9 88
  1927. MergeIt 980 2 5 133
  1928. SendIt 1522 4 13 159
  1929. SendParse 2368 3 3 213
  1930. GetAddress 2690 4 2 232
  1931. FindIt 2962 3 4 245
  1932. StripDown 3242 2 6 263
  1933. CopyClip 3623 1 5 281
  1934. DisplayQuestion 4111 1 5 304
  1935. CheckForFrame 4820 0 3 342
  1936. DarkModeMacro 5039 2 2 359
  1937. InitDDE 5471 1 7 379
  1938. TryToExec 5907 0 11 408
  1939. tryit 6703 2 1 439
  1940. writeprofile 6786 2 1 444
  1941. getprofile 6885 1 2 448
  1942. Navigate 7059 2 3 456
  1943. DisplayHelp 7281 0 4 472
  1944. MailBox 7467 4 7 485
  1945. attacher 8250 3 5 532
  1946. MoveIt 8499 3 13 547
  1947. LTrim 9672 1 1 598
  1948. Attach 9859 0 -1 613
  1949. mailbox 10379 0 -1 629
  1950. findapp 10891 0 -1 644
  1951. [macse]
  1952. 14 Menus
  1953. 7 "&File"
  1954. 8 1
  1955. 7 "&Quick Send..."
  1956. 8 2
  1957. 0 802
  1958. 13
  1959. 8 3
  1960. 0 518 1 "{1}" "{2}" 1
  1961. 0 518 1 "{1}" "{2}" 1
  1962. 13
  1963. 1 3
  1964. 11 00000246
  1965. 0 527 1 "{1}" 13 "-" "" ""
  1966. 0 527 1 "{1}" 13 "{2}" "{3}!Main" "Send memo on screen."
  1967. 5 1
  1968. 15
  1969. 9
  1970. 10 00000275
  1971. 7 "{3}!Main"
  1972. 8 4
  1973. 16 "{4}"
  1974. 0 518 1 "{1}" "{2}" 0
  1975. 6 0
  1976. 15
  1977. 9
  1978. 14 Main
  1979. 0 1050
  1980. 13
  1981. 5 1
  1982. 18 5
  1983. 11 00000058
  1984. 5 -1
  1985. 15
  1986. 9
  1987. 20 00000618
  1988. 0 1313 165
  1989. 13
  1990. 0 20 [X] 8 ","
  1991. 13
  1992. 8 8
  1993. 0 1313 165
  1994. 13
  1995. 0 20 [X] 10 ","
  1996. 13
  1997. 8 9
  1998. 16 DarkModeMacro "on" &7
  1999. 0 296 1
  2000. 0 284 "user,HideCaret,HA" ""
  2001. 6 8
  2002. 7 ""
  2003. 18 1
  2004. 11 00000366
  2005. 5 -1
  2006. 16 MergeIt "{8}" "{9}"
  2007. 13
  2008. 18 0
  2009. 11 00000315
  2010. 10 00000366
  2011. 16 DarkModeMacro "off" "{7}"
  2012. 0 296 0
  2013. 5 0
  2014. 15
  2015. 9
  2016. 16 GetAddress &2 &3 &4 &5
  2017. 16 DarkModeMacro "off" "{7}"
  2018. 16 CheckForFrame
  2019. 13
  2020. 11 00000520
  2021. 16 DisplayQuestion &5
  2022. 13
  2023. 11 00000520
  2024. 0 296 0
  2025. 5 -1
  2026. 15
  2027. 9
  2028. 0 296 0
  2029. 5 -1
  2030. 16 MailBox &2 &4 &3 &5
  2031. 13
  2032. 18 0
  2033. 11 00000595
  2034. 10 00000618
  2035. 16 SendIt &2 &4 &3 &5
  2036. 0 789 ""
  2037. 0 284 "user,ShowCaret,HA" ""
  2038. 6 1
  2039. 15
  2040. 9
  2041. 14 MergeIt
  2042. 0 2 "Would you like to merge this file to your EMail service?" "Ami Pro"
  2043. 13
  2044. 1 3
  2045. 11 00000121
  2046. 5 -1
  2047. 15
  2048. 9
  2049. 0 789 "Now merging to EMail server"
  2050. 2 110 4 0 "{0}" "{1}"
  2051. 16 GetAddress &3 &5 &4 &6
  2052. 16 SendIt &3 &4 &5 &6
  2053. 5 1
  2054. 2 116 1 2
  2055. 13
  2056. 18 0
  2057. 11 00000508
  2058. 16 GetAddress &3 &5 &4 &6
  2059. 5 0
  2060. 16 SendIt &3 &4 &5 &6
  2061. 13
  2062. 18 0
  2063. 11 00000361
  2064. 10 00000495
  2065. 0 3 "Merging could not continue.  Could not send mail.  This name may not be in the address book." "Ami Pro"
  2066. 2 116 1 4
  2067. 10 00000508
  2068. 10 00000231
  2069. 0 789 ""
  2070. 5 0
  2071. 15
  2072. 9
  2073. 6 2
  2074. 15
  2075. 9
  2076. 14 SendIt
  2077. 0 296 1
  2078. 27 0
  2079. 8 11
  2080. 27 1
  2081. 8 12
  2082. 27 2
  2083. 8 13
  2084. 27 3
  2085. 8 14
  2086. 5 1
  2087. 8 15
  2088. 5 1
  2089. 8 16
  2090. 5 0
  2091. 16 InitDDE &8
  2092. 13
  2093. 0 805 &5 [X]
  2094. 13
  2095. 18 0
  2096. 11 00000173
  2097. 0 296 0
  2098. 5 -1
  2099. 15
  2100. 9
  2101. 0 11 "{5}" "NewMessage"
  2102. 0 789 "Sending message to {11}"
  2103. 16 SendParse "{5}" "To" "{11}"
  2104. 16 SendParse "{5}" "CC" "{12}"
  2105. 0 18 "{14}"
  2106. 13
  2107. 16 SendParse "{5}" "AttachFile" [X]
  2108. 7 ""
  2109. 6 13
  2110. 18 1
  2111. 11 00000407
  2112. 0 11 "{5}" "Subject {13}"
  2113. 6 8
  2114. 7 "Notes"
  2115. 18 0
  2116. 11 00000615
  2117. 0 1313 217 24 155
  2118. 13
  2119. 11 00000602
  2120. 5 -1
  2121. 0 11 "{5}" "PasteClip"
  2122. 13
  2123. 18 0
  2124. 11 00000602
  2125. 0 3 "Could not send mail." "Ami Pro"
  2126. 0 9 "{5}"
  2127. 0 296 0
  2128. 5 -1
  2129. 15
  2130. 9
  2131. 10 00000795
  2132. 0 1313 217 24 155
  2133. 13
  2134. 11 00000795
  2135. 5 -1
  2136. 0 11 "{5}" "Paste"
  2137. 13
  2138. 0 805 &10 [X]
  2139. 13
  2140. 18 0
  2141. 11 00000795
  2142. 0 3 "Could not send mail. {10}" "Ami Pro"
  2143. 0 9 "{5}"
  2144. 0 296 0
  2145. 5 -1
  2146. 15
  2147. 9
  2148. 0 11 "{5}" "Send"
  2149. 0 9 "{5}"
  2150. 0 296 0
  2151. 6 4
  2152. 15
  2153. 9
  2154. 14 SendParse
  2155. 5 1
  2156. 8 5
  2157. 5 -1
  2158. 0 20 "{2}" "{5}" ","
  2159. 13
  2160. 0 805 &4 [X]
  2161. 13
  2162. 18 1
  2163. 11 00000310
  2164. 16 Ltrim "{4}"
  2165. 13
  2166. 8 4
  2167. 6 1
  2168. 7 "AttachFile"
  2169. 18 0
  2170. 11 00000225
  2171. 0 280 "{4}" 0
  2172. 13
  2173. 11 00000212
  2174. 0 11 "{0}" "{1} {4}"
  2175. 10 00000277
  2176. 7 ""
  2177. 6 4
  2178. 18 1
  2179. 11 00000277
  2180. 0 11 "{0}" "{1} {4}"
  2181. 6 5
  2182. 5 1
  2183. 3 0
  2184. 8 5
  2185. 10 00000024
  2186. 6 3
  2187. 15
  2188. 9
  2189. 14 GetAddress
  2190. 5 0
  2191. 8 5
  2192. 16 Findit "to:" &0 &5
  2193. 5 0
  2194. 16 Findit "subject:" &1 &5
  2195. 13
  2196. 18 0
  2197. 11 00000127
  2198. 16 Findit "re:" &1 &5
  2199. 16 Findit "cc:" &2 &5
  2200. 5 0
  2201. 16 Findit "attachment:" &3 &5
  2202. 13
  2203. 18 0
  2204. 11 00000241
  2205. 16 Findit "attachments:" &3 &5
  2206. 16 CopyClip "{5}"
  2207. 6 4
  2208. 15
  2209. 9
  2210. 14 FindIt
  2211. 2 488 1 0 0 8196 "{0}" ""
  2212. 13
  2213. 8 4
  2214. 6 4
  2215. 5 1
  2216. 18 0
  2217. 11 00000256
  2218. 0 6 "[16422]"
  2219. 0 6 "[16424]"
  2220. 0 37
  2221. 13
  2222. 8 5
  2223. 16 StripDown "{0}" "{5}"
  2224. 13
  2225. 8 5
  2226. 6 5
  2227. 28 1
  2228. 0 293
  2229. 13
  2230. 0 20 [X] 2 ","
  2231. 13
  2232. 8 6
  2233. 6 6
  2234. 27 2
  2235. 18 5
  2236. 11 00000244
  2237. 6 6
  2238. 28 2
  2239. 5 1
  2240. 15
  2241. 9
  2242. 5 0
  2243. 15
  2244. 9
  2245. 6 3
  2246. 15
  2247. 9
  2248. 14 StripDown
  2249. 0 14 "{0}"
  2250. 13
  2251. 8 3
  2252. 0 14 "{1}"
  2253. 13
  2254. 8 4
  2255. 6 4
  2256. 6 3
  2257. 3 1
  2258. 0 807 "{1}" [X]
  2259. 13
  2260. 8 5
  2261. 5 1
  2262. 8 6
  2263. 0 14 "{5}"
  2264. 13
  2265. 6 6
  2266. 18 2
  2267. 12 00000193
  2268. 10 00000357
  2269. 5 1
  2270. 6 6
  2271. 3 0
  2272. 8 6
  2273. 10 00000107
  2274. 0 806 "{5}" 1
  2275. 13
  2276. 8 7
  2277. 5 0
  2278. 0 808 0 "     :" "{7}"
  2279. 13
  2280. 18 0
  2281. 11 00000292
  2282. 10 00000357
  2283. 10 00000344
  2284. 0 14 "{5}"
  2285. 13
  2286. 5 1
  2287. 3 1
  2288. 0 807 "{5}" [X]
  2289. 13
  2290. 8 5
  2291. 10 00000160
  2292. 6 5
  2293. 15
  2294. 9
  2295. 6 2
  2296. 15
  2297. 9
  2298. 14 CopyClip
  2299. 0 32 2
  2300. 7 "This document may contain a table, frame or a footnote; to maintain these items, attach this file to the message.  {3} '{4}' to the message?"
  2301. 8 2
  2302. 0 293
  2303. 13
  2304. 0 20 [X] 2 ","
  2305. 13
  2306. 8 5
  2307. 6 0
  2308. 5 0
  2309. 18 0
  2310. 11 00000265
  2311. 0 6 "[16420]"
  2312. 10 00000378
  2313. 6 5
  2314. 6 0
  2315. 18 3
  2316. 11 00000355
  2317. 0 6 "[40]"
  2318. 0 293
  2319. 13
  2320. 0 20 [X] 2 ","
  2321. 13
  2322. 8 5
  2323. 10 00000265
  2324. 0 6 "[37][16424][39]"
  2325. 0 6 "[20515]"
  2326. 0 1313 217 24 154
  2327. 13
  2328. 11 00000451
  2329. 2 154 1
  2330. 10 00000464
  2331. 0 1038 "" 1
  2332. 0 6 "[27]"
  2333. 6 1
  2334. 15
  2335. 9
  2336. 14 DisplayQuestion
  2337. 27 0
  2338. 8 2
  2339. 0 34 0 0
  2340. 13
  2341. 11 00000097
  2342. 7 "Save and attach"
  2343. 8 3
  2344. 10 00000114
  2345. 7 "Attach"
  2346. 8 3
  2347. 0 279 1
  2348. 13
  2349. 8 4
  2350. 0 21 "This document may contain a table, frame or a footnote; to maintain these items, attach this file to the message.  {3} '{4}' to the message?" 3 "Ami Pro"
  2351. 13
  2352. 8 5
  2353. 5 2
  2354. 6 5
  2355. 18 0
  2356. 11 00000369
  2357. 5 1
  2358. 15
  2359. 9
  2360. 10 00000697
  2361. 10 00000697
  2362. 5 6
  2363. 6 5
  2364. 18 0
  2365. 11 00000643
  2366. 0 267
  2367. 13
  2368. 8 4
  2369. 6 4
  2370. 7 ""
  2371. 18 0
  2372. 11 00000523
  2373. 24 104
  2374. 13
  2375. 11 00000498
  2376. 0 267
  2377. 13
  2378. 8 4
  2379. 10 00000510
  2380. 5 0
  2381. 15
  2382. 9
  2383. 10 00000532
  2384. 2 103 1
  2385. 6 2
  2386. 7 ""
  2387. 18 0
  2388. 11 00000586
  2389. 6 4
  2390. 28 0
  2391. 10 00000618
  2392. 0 16 "{2}" "," "{4}"
  2393. 13
  2394. 28 0
  2395. 5 0
  2396. 15
  2397. 9
  2398. 10 00000697
  2399. 5 7
  2400. 6 5
  2401. 18 0
  2402. 11 00000697
  2403. 5 0
  2404. 15
  2405. 9
  2406. 10 00000697
  2407. 6 1
  2408. 15
  2409. 9
  2410. 14 CheckForFrame
  2411. 0 1313 24
  2412. 13
  2413. 11 00000058
  2414. 5 1
  2415. 15
  2416. 9
  2417. 0 1313 86 0
  2418. 13
  2419. 11 00000100
  2420. 5 1
  2421. 15
  2422. 9
  2423. 0 1308
  2424. 13
  2425. 8 1
  2426. 6 1
  2427. 21 2 [X]
  2428. 0 1309 &2
  2429. 5 0
  2430. 0 1044 &2 "Table Text"
  2431. 13
  2432. 18 1
  2433. 11 00000207
  2434. 5 1
  2435. 15
  2436. 9
  2437. 6 0
  2438. 15
  2439. 9
  2440. 14 DarkModeMacro
  2441. 5 4
  2442. 21 3 [X]
  2443. 0 17 "{0}"
  2444. 13
  2445. 8 0
  2446. 7 "on"
  2447. 6 0
  2448. 18 0
  2449. 11 00000192
  2450. 0 1313 267
  2451. 13
  2452. 28 1
  2453. 2 466 1 "DarkMode" 4003
  2454. 0 284 "user,SendMessage,JHHHJ" "{1}" 11 0 ""
  2455. 10 00000420
  2456. 7 "off"
  2457. 6 0
  2458. 18 0
  2459. 11 00000420
  2460. 0 284 "user,SendMessage,JHHHJ" "{1}" 11 1 ""
  2461. 2 466 1 "DarkMode" 4002
  2462. 2 466 1 "DarkMode" 4004
  2463. 0 284 "User,GetClientRect,HHN" "{1}" &3
  2464. 0 284 "user,InvalidateRect,HHFH" "{1}" &3 1
  2465. 10 00000420
  2466. 6 2
  2467. 15
  2468. 9
  2469. 14 InitDDE
  2470. 0 32 2
  2471. 5 0
  2472. 8 4
  2473. 5 1
  2474. 8 5
  2475. 6 5
  2476. 5 7
  2477. 18 5
  2478. 11 00000412
  2479. 0 1032 "Lotus Notes"
  2480. 13
  2481. 11 00000154
  2482. 7 "Notes"
  2483. 8 6
  2484. 7 "Notes"
  2485. 28 0
  2486. 10 00000298
  2487. 0 1032 "cc:Mail"
  2488. 13
  2489. 11 00000236
  2490. 7 "wMail"
  2491. 8 6
  2492. 7 "ccMail"
  2493. 28 0
  2494. 10 00000298
  2495. 6 4
  2496. 5 0
  2497. 18 0
  2498. 11 00000298
  2499. 16 TryToExec
  2500. 13
  2501. 8 7
  2502. 5 1
  2503. 8 4
  2504. 5 0
  2505. 0 8 "{6}" "SendMail"
  2506. 13
  2507. 0 805 &2 [X]
  2508. 13
  2509. 18 1
  2510. 11 00000379
  2511. 10 00000412
  2512. 6 5
  2513. 5 1
  2514. 3 0
  2515. 8 5
  2516. 10 00000040
  2517. 6 2
  2518. 15
  2519. 9
  2520. 6 1
  2521. 15
  2522. 9
  2523. 14 TryToExec
  2524. 0 286 "LotusMail" "Application" "Win.ini"
  2525. 13
  2526. 8 5
  2527. 0 286 "LotusMail" "Program" "Win.Ini"
  2528. 13
  2529. 8 6
  2530. 5 0
  2531. 0 14 "{6}"
  2532. 13
  2533. 0 805 &1 [X]
  2534. 13
  2535. 18 1
  2536. 11 00000416
  2537. 7 "\"
  2538. 0 15 "{6}" "{1}" 1
  2539. 13
  2540. 0 805 &2 [X]
  2541. 13
  2542. 18 1
  2543. 11 00000273
  2544. 6 1
  2545. 5 1
  2546. 3 1
  2547. 8 1
  2548. 10 00000172
  2549. 0 806 "{6}" "{1}"
  2550. 13
  2551. 8 3
  2552. 0 14 "{6}"
  2553. 13
  2554. 6 1
  2555. 3 1
  2556. 0 807 "{6}" [X]
  2557. 13
  2558. 8 7
  2559. 16 tryit "{3}" "{7}"
  2560. 13
  2561. 5 31
  2562. 18 3
  2563. 11 00000416
  2564. 5 1
  2565. 15
  2566. 9
  2567. 16 GetProfile "mail"
  2568. 13
  2569. 0 20 [X] 1 ","
  2570. 13
  2571. 8 8
  2572. 16 GetProfile "mail"
  2573. 13
  2574. 0 20 [X] 2 ","
  2575. 13
  2576. 8 9
  2577. 16 tryit "{8}" "{9}"
  2578. 13
  2579. 5 31
  2580. 18 3
  2581. 11 00000581
  2582. 5 1
  2583. 15
  2584. 9
  2585. 7 "your mail service."
  2586. 8 10
  2587. 16 Navigate "{10}" &4
  2588. 13
  2589. 0 805 &3 [X]
  2590. 13
  2591. 5 0
  2592. 18 1
  2593. 11 00000772
  2594. 16 tryit "{3}" "{4}"
  2595. 13
  2596. 5 31
  2597. 18 3
  2598. 11 00000772
  2599. 16 writeprofile "{3}" "{4}"
  2600. 5 1
  2601. 15
  2602. 9
  2603. 5 0
  2604. 15
  2605. 9
  2606. 6 0
  2607. 15
  2608. 9
  2609. 14 tryit
  2610. 0 781 "{0}"
  2611. 0 16 "{0}" "{1}"
  2612. 13
  2613. 0 22 [X] "" 2
  2614. 13
  2615. 15
  2616. 9
  2617. 6 2
  2618. 15
  2619. 9
  2620. 14 writeprofile
  2621. 0 16 "{0}" "," "{1}"
  2622. 13
  2623. 0 287 "LotusApps" "Mail" [X] "amipro2.ini"
  2624. 6 2
  2625. 15
  2626. 9
  2627. 14 getprofile
  2628. 0 286 "LotusApps" "{0}" "amipro2.ini"
  2629. 13
  2630. 0 805 &2 [X]
  2631. 13
  2632. 7 ""
  2633. 18 1
  2634. 11 00000113
  2635. 6 2
  2636. 15
  2637. 9
  2638. 0 286 "LotusApps" "{0}" "amipro.ini"
  2639. 13
  2640. 15
  2641. 9
  2642. 6 1
  2643. 15
  2644. 9
  2645. 14 Navigate
  2646. 0 802
  2647. 13
  2648. 8 4
  2649. 0 31 9001 "*.exe"
  2650. 0 31 8007 "{0}"
  2651. 0 47 112 "{4}!DisplayHelp"
  2652. 0 26 "." "findapp"
  2653. 13
  2654. 0 805 &3 [X]
  2655. 13
  2656. 5 1
  2657. 18 1
  2658. 11 00000171
  2659. 5 0
  2660. 15
  2661. 9
  2662. 0 27 9001
  2663. 13
  2664. 28 1
  2665. 0 290
  2666. 13
  2667. 15
  2668. 9
  2669. 6 2
  2670. 15
  2671. 9
  2672. 14 DisplayHelp
  2673. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  2674. 13
  2675. 8 1
  2676. 0 798
  2677. 13
  2678. 0 16 [X] "HelpPack.hlp"
  2679. 13
  2680. 8 2
  2681. 5 135
  2682. 8 3
  2683. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 "{3}"
  2684. 6 0
  2685. 15
  2686. 9
  2687. 14 MailBox
  2688. 0 802
  2689. 13
  2690. 8 5
  2691. 0 32 2
  2692. 27 1
  2693. 7 ""
  2694. 18 1
  2695. 11 00000268
  2696. 7 "AMIPRO2.INI"
  2697. 8 6
  2698. 0 286 "AmiMailer" "DisplayBox" "{6}"
  2699. 13
  2700. 8 7
  2701. 6 7
  2702. 7 ""
  2703. 18 0
  2704. 11 00000224
  2705. 7 "yes"
  2706. 8 7
  2707. 0 287 "AmiMailer" "DisplayBox" "{7}" "{6}"
  2708. 6 7
  2709. 7 "no"
  2710. 18 0
  2711. 11 00000268
  2712. 5 1
  2713. 15
  2714. 9
  2715. 0 271 "Files" 1
  2716. 27 3
  2717. 8 8
  2718. 0 264 "Files" "{8}"
  2719. 0 31 8000 "{0}"
  2720. 0 31 8001 "{1}"
  2721. 0 31 8002 "{2}"
  2722. 0 41 21 "{5}!Attacher"
  2723. 0 47 112 "{5}!DisplayHelp"
  2724. 0 26 "." "mailbox"
  2725. 13
  2726. 8 9
  2727. 6 9
  2728. 5 1
  2729. 18 1
  2730. 11 00000506
  2731. 0 266 "Files"
  2732. 5 -1
  2733. 15
  2734. 9
  2735. 0 27 8000
  2736. 13
  2737. 28 0
  2738. 0 27 8001
  2739. 13
  2740. 28 1
  2741. 0 27 8002
  2742. 13
  2743. 28 2
  2744. 0 265 "files"
  2745. 13
  2746. 28 3
  2747. 0 266 "Fil.es"
  2748. 0 27 20
  2749. 13
  2750. 8 10
  2751. 6 10
  2752. 5 1
  2753. 18 0
  2754. 11 00000715
  2755. 0 287 "AmiMailer" "DisplayBox" "no" "{6}"
  2756. 10 00000759
  2757. 0 287 "AmiMailer" "DisplayBox" "yes" "{6}"
  2758. 5 1
  2759. 15
  2760. 9
  2761. 6 4
  2762. 15
  2763. 9
  2764. 14 attacher
  2765. 0 802
  2766. 13
  2767. 8 5
  2768. 0 290
  2769. 13
  2770. 8 6
  2771. 0 31 7999 "{6}"
  2772. 0 41 21 "{5}!MoveIt"
  2773. 0 41 22 "{5}!MoveIt"
  2774. 0 41 20 "{5}!MoveIt"
  2775. 0 41 0 "{5}!MoveIt"
  2776. 0 47 112 "{5}!DisplayHelp"
  2777. 0 26 "." "Attach"
  2778. 13
  2779. 8 7
  2780. 0 284 "User,SetFocus,HH" "{0}"
  2781. 6 3
  2782. 15
  2783. 9
  2784. 14 MoveIt
  2785. 0 44 "{0}" 9002
  2786. 13
  2787. 8 4
  2788. 0 44 "{0}" 9001
  2789. 13
  2790. 8 5
  2791. 5 21
  2792. 6 1
  2793. 18 0
  2794. 11 00000334
  2795. 0 42 "{0}" 9001
  2796. 13
  2797. 8 8
  2798. 0 808 0 "{8}" "]"
  2799. 13
  2800. 5 0
  2801. 18 1
  2802. 11 00000178
  2803. 6 3
  2804. 15
  2805. 9
  2806. 0 290
  2807. 13
  2808. 0 16 [X] "{8}"
  2809. 13
  2810. 0 17 [X]
  2811. 13
  2812. 8 9
  2813. 5 -1
  2814. 0 1036 "{4}" 1040 -1 "{9}"
  2815. 13
  2816. 18 0
  2817. 11 00000308
  2818. 0 43 "{0}" 9002 "{9}"
  2819. 10 00001161
  2820. 10 00001161
  2821. 5 22
  2822. 6 1
  2823. 18 0
  2824. 11 00000461
  2825. 0 1036 "{4}" 1033 0 0
  2826. 13
  2827. 8 10
  2828. 0 1036 "{4}" 1027 "{10}" 0
  2829. 13
  2830. 8 11
  2831. 10 00001161
  2832. 10 00001161
  2833. 5 20
  2834. 6 1
  2835. 18 0
  2836. 11 00000941
  2837. 0 1036 "{4}" 1036 0 0
  2838. 13
  2839. 8 12
  2840. 5 1
  2841. 8 13
  2842. 6 12
  2843. 6 13
  2844. 18 2
  2845. 12 00000614
  2846. 10 00000758
  2847. 5 1
  2848. 6 13
  2849. 3 0
  2850. 8 13
  2851. 10 00000535
  2852. 6 13
  2853. 5 1
  2854. 3 1
  2855. 0 1036 "{4}" 1031 [X] 0
  2856. 0 42 "{0}" 9002
  2857. 13
  2858. 8 6
  2859. 6 6
  2860. 7 ""
  2861. 18 1
  2862. 11 00000745
  2863. 0 16 "{14}" ", " "{6}"
  2864. 13
  2865. 8 14
  2866. 10 00000579
  2867. 6 14
  2868. 7 ""
  2869. 18 1
  2870. 11 00000844
  2871. 0 14 "{14}"
  2872. 13
  2873. 5 2
  2874. 3 1
  2875. 0 807 "{14}" [X]
  2876. 13
  2877. 8 14
  2878. 0 264 "Files" "{14}"
  2879. 0 284 "user,PostMessage,HHHHHH" "{0}" 273 2 0 0
  2880. 10 00001161
  2881. 10 00001161
  2882. 0 265 "Files"
  2883. 13
  2884. 8 15
  2885. 5 1
  2886. 8 11
  2887. 5 -1
  2888. 0 20 "{15}" "{11}" ","
  2889. 13
  2890. 0 805 &7 [X]
  2891. 13
  2892. 18 1
  2893. 11 00001161
  2894. 16 Ltrim "{7}"
  2895. 13
  2896. 8 7
  2897. 6 7
  2898. 7 ""
  2899. 18 1
  2900. 11 00001126
  2901. 0 43 "{0}" 9002 "{7}"
  2902. 6 11
  2903. 5 1
  2904. 3 0
  2905. 8 11
  2906. 10 00000977
  2907. 6 3
  2908. 15
  2909. 9
  2910. 14 LTrim
  2911. 6 0
  2912. 7 " "
  2913. 18 0
  2914. 11 00000053
  2915. 6 1
  2916. 15
  2917. 9
  2918. 0 806 "{0}" 1
  2919. 13
  2920. 7 " "
  2921. 18 0
  2922. 11 00000163
  2923. 0 14 "{0}"
  2924. 13
  2925. 5 1
  2926. 3 1
  2927. 0 807 "{0}" [X]
  2928. 13
  2929. 8 0
  2930. 10 00000053
  2931. 6 0
  2932. 15
  2933. 9
  2934. 6 1
  2935. 15
  2936. 9
  2937. DIALOG Attach
  2938. -2134376448 9 49 56 256 102 "" "AmiDialog" "Attach Files" 
  2939. FONT 8 "Helv" 
  2940. 213 3 40 14 20 1342373889 "button" "OK" 0 
  2941. 213 19 40 14 2 1342373888 "button" "Cancel" 0 
  2942. 3 14 60 80 9001 1352728579 "listbox" "" 0 
  2943. 111 14 98 80 9002 1352728577 "listbox" "" 0 
  2944. 66 32 43 14 21 1342373888 "button" "Move >>" 0 
  2945. 66 50 43 14 22 1342373888 "button" "<< Remove" 0 
  2946. 3 2 82 10 7999 1342177280 "static" "text" 0 
  2947. 112 2 56 10 1001 1342177280 "static" "Attachments:" 0 
  2948. 238 182 10 14 1 1342373888 "button" "&z" 0 
  2949. DIALOG mailbox
  2950. -2134376448 9 55 58 198 57 "" "AmiDialog" "Confirm Mail to Send" 
  2951. FONT 8 "Helv" 
  2952. 4 8 28 10 1000 1342177280 "static" "To:" 0 
  2953. 38 6 108 12 8000 1350631552 "edit" "" 0 
  2954. 4 22 28 10 1001 1342177280 "static" "cc:" 0 
  2955. 38 20 108 12 8001 1350631552 "edit" "" 0 
  2956. 4 36 28 10 1002 1342177280 "static" "Subject:" 0 
  2957. 38 34 108 12 8002 1350631552 "edit" "" 0 
  2958. 153 4 40 14 1 1342373889 "button" "OK" 0 
  2959. 153 20 40 14 2 1342373888 "button" "Cancel" 0 
  2960. 153 36 40 14 21 1342373888 "button" "Attach..." 0 
  2961. DIALOG findapp
  2962. -2134376448 7 70 35 200 97 "" "" "Find Application" 
  2963. FONT 8 "Helv" 
  2964. 7 34 59 8 1000 1342177280 "static" "&Program path:" 0 
  2965. 6 45 60 44 9001 1352728579 "listbox" "" 0 
  2966. 155 5 40 14 1 1342373889 "button" "OK" 0 
  2967. 155 21 40 14 2 1342373888 "button" "Cancel" 0 
  2968. 68 34 80 8 7999 1342177280 "static" "" 0 
  2969. 7 6 142 9 1006 1342177280 "static" "Change into the directory that contains" 0 
  2970. 7 16 107 8 8007 1342177280 "static" "" 0 
  2971. 00024679
  2972.